package com.yanxin.credit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yanxin.credit.dto.AmazonOrderDTO;
import com.yanxin.credit.dto.PageDataInfo;
import com.yanxin.credit.entity.AmazonOrder;

import java.util.Date;

public interface IAmazonOrderService extends IService<AmazonOrder> {

    AmazonOrder insertOrder(AmazonOrderDTO orderDTO);

    int deleteOrder(long orderId);

    PageDataInfo listBySelective(Date orderDate, int pageNum, int pageSize);
}